package com.octlan.wbcompare.util
{
	import com.octlan.wbcompare.base.Constants;
	
	public class URLHelper
	{
		public function URLHelper()
		{
		}
		public static function updateBaseURL(url:String):void
		{
			var index:int = url.lastIndexOf("/");
            var baseUrl:String = url.substr(0,index);
            Constants.BASE_URL = baseUrl;
		}
	}
}